package com.jr.service.impl;

import com.jr.entity.Basic_info;
import com.jr.mapper.Basic_infoMapper;
import com.jr.service.Basic_infoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class Basic_infoServiceImpl implements Basic_infoService {

    @Autowired
    private Basic_infoMapper basic_infoMapper;

    @Override
    public int insert(Basic_info basic_info) {
        return basic_infoMapper.insert(basic_info);
    }

    @Override
    public ArrayList<Basic_info> selectByName(String name) {
        return basic_infoMapper.selectByName(name);
    }


}
